package com.tbit.main.constant;

/**
 * @author LMY
 * @create 2021-05-18 15:14
 * 工单
 */
public class WorkOrderConstant {
    //工单生成类型
    //自动
    public final static Integer buildType_V = 1;
    //手动
    public final static Integer buildType_H = 2;

    //工单优先级
    //低优先级
    public final static Integer priority_First = 1;
    //中优先级
    public final static Integer priority_Second = 2;
    //高优先级
    public final static Integer priority_Third = 3;


    //工单类型
    //全部
    public final static Integer workType_QB = 0;
    //换电
    public final static Integer workType_HD = 1;
    //挪车
    public final static Integer workType_NC = 2;
    //维修
    public final static Integer workType_WX = 3;
    //事务
    public final static Integer workType_SW = 4;
    //其他
    public final static Integer workType_QT = 5;
    //调度
    public final static Integer workType_DD = 6;
    //清洁车
    public final static Integer workType_QJ = 7;
    //摆车
    public final static Integer workType_BC = 8;
    //举报
    public final static Integer workType_JB = 9;
    //巡检
    public final static Integer workType_XJ = 10;
    //寻车
    public final static Integer workType_XC = 11;
    //电池
    public final static Integer workType_DC = 12;

    //工单状态
    //1创建
    public final static Integer state_CJ = 1;
    //2领取
    public final static Integer state_LQ = 2;
    //3完成
    public final static Integer state_WC = 3;
    //4审核中
    public final static Integer state_SHZ = 4;
    //5超时(领取未完成)
    public final static Integer state_CS = 5;
    //6失效(未领取)
    public final static Integer state_SX = 6;
    /**
     * 无效
     */
    public final static Integer isValid = 0;
    /**
     * 有效
     */
    public final static Integer valid = 1;
    /**
     * 审核中
     */
    public final static Integer aduit = 2;
    /**
     * 系统审核
     */
    public final static Integer sys_auditor = 1;
    public final static String sys_auditorName = "系统审核";
    public final static String sys_ride_isValid = "两个工单之间产生订单，有效;";
    public final static String sys_ride_Valid = "两个工单之间未产生订单，无效;";
    public final static String sys_ride_last_order = "最近订单:%s;";
    public final static String sys_rideDistance_isValid = "距离，有效;";
    public final static String sys_rideDistance_Valid = "距离，无效;";
    public final static String sys_logTime_isValid = "间隔时间，有效;";
    public final static String sys_logTime_Valid = "间隔时间，无效;";
    public final static String sys_rideTime_isValid = "之后产生订单，有效;";
    public final static String sys_rideTime_Valid = "之后未产生订单，无效;";
    public final static String exist_Dispatch = "已被他人调度";
    public final static String sys_rideTime_isValid_move = "之内产生订单，有效;";
    //语音
    //接收语音
    public static String new_Work = "new_work_order";
    //更新语音
    public static String update_Work = "work_order_updated";
}
